﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Project.Core.Api.Common.Condition
{
    /// <summary>
    /// 查询条件类
    /// </summary>
    public partial class BaseCondition
    {
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 是否开启分页  true 开启  false 关闭
        /// </summary>
        public bool IsPage { get; set; }

        /// <summary>
        /// 是否排序  true 开启 false 关闭
        /// </summary>
        public bool IsOrder { get; set; }

        /// <summary>
        /// 是否倒叙  true 倒叙 false 正序
        /// </summary>
        public bool IsAsc { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creater { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public string RoleId { get; set; }

        /// <summary>
        /// 机构管理员ID
        /// </summary>
        public string Cid { get; set; }
    }
}
